package com.ruoyi.project.system.mapper;

import java.util.List;
import com.ruoyi.project.system.domain.ProfessionalSubcontracting;

/**
 * 专业分包Mapper接口
 * 
 * @author ruoyi
 * @date 2021-10-15
 */
public interface ProfessionalSubcontractingMapper 
{
    /**
     * 查询专业分包
     * 
     * @param id 专业分包主键
     * @return 专业分包
     */
    public ProfessionalSubcontracting selectProfessionalSubcontractingById(Long id);

    /**
     * 查询专业分包列表
     * 
     * @param professionalSubcontracting 专业分包
     * @return 专业分包集合
     */
    public List<ProfessionalSubcontracting> selectProfessionalSubcontractingList(ProfessionalSubcontracting professionalSubcontracting);

    /**
     * 新增专业分包
     * 
     * @param professionalSubcontracting 专业分包
     * @return 结果
     */
    public int insertProfessionalSubcontracting(ProfessionalSubcontracting professionalSubcontracting);

    /**
     * 修改专业分包
     * 
     * @param professionalSubcontracting 专业分包
     * @return 结果
     */
    public int updateProfessionalSubcontracting(ProfessionalSubcontracting professionalSubcontracting);

    /**
     * 删除专业分包
     * 
     * @param id 专业分包主键
     * @return 结果
     */
    public int deleteProfessionalSubcontractingById(Long id);

    /**
     * 批量删除专业分包
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProfessionalSubcontractingByIds(Long[] ids);
}
